﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class ChiTietTruyCapBLL
    {
        ChiTietChiTruyCapDAL _chiTietTruyCap;

        public ChiTietTruyCapBLL()
        {
            _chiTietTruyCap = new ChiTietChiTruyCapDAL();
        }

        public DataTable Load()
        {
            return _chiTietTruyCap.Load();
        }

        public int Insert(ChiTietTruyCapPublic p)
        {

            return _chiTietTruyCap.Insert(p);
        }

        public int Update(ChiTietTruyCapPublic p)
        {
            return _chiTietTruyCap.Update(p);
        }

        public int Delete(ChiTietTruyCapPublic p)
        {
            return _chiTietTruyCap.Delete(p);
        }
    }
}
